import request from "@/utils/request";

export interface choisesType {
    name: string;
    id: string;
}

export type choisesListType = choisesType[];

export interface filterType {
    choises: choisesListType;
    formType: string;
    label: string;
    name: string;
    style: string;
    valueType: string;
}

export type filterListType = filterType[];

// 请求筛选数据
export const getFilterData = () => {
    return request.get<any, filterListType>(
        "http://zsjyyds.online:9000/apis/moment/properties/filter/vip_zone?access_token=6b44a37a-0df2-4a8a-a4b8-7c0cd2d2a222"
    );
};
